<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:include page="header.jsp"></jsp:include>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    
<h2><fmt:message key="titleSearch" /></h2>

<p><fmt:message key="infoSearch" /> : <strong>${motClef}</strong> <c:if test="${not empty categorie}"><fmt:message key="searchSearch" /> ${categorie}</c:if><br />
<fmt:message key="nbElementSearch" /> : ${nbElement}</p>

<hr />

<c:if test="${nbElement == 0}">
    <fmt:message key="noDisplay" />
</c:if>

<div class="row">
    <c:forEach var="c" items="${listSyllabus}" >
    <div class="span-one-third" style="margin-top: 15px;">
        <div class="trucBizarre">
            <h4>${c.libelle}</h4>
            <span class="descriptionHasard">${c.description}</span>
            <ul class="listeHasard">
                <li><fmt:message key="catVente" /> : ${c.categorie.denomination}</li>
                <li><fmt:message key="autVente" /> : ${c.auteur.nom} ${c.auteur.prenom}</li>
                <li><fmt:message key="prixVente" /> : ${c.prix}</li>
            </ul>
        </div>
        <p><a class="btn" href="VenteSyllatheque?id=${c.syllabusId}"><fmt:message key="detailVente" /> &raquo;</a></p>
    </div>
    </c:forEach>
</div>

<jsp:include page="footer.jsp"></jsp:include>